package com.orange.eduOrder.client;

import com.orange.commonutils.vo.UcenterMemberVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author orange
 * @email orangestart@yeah.net
 * @create 2021-12-28 14:20
 */
@Component
@FeignClient(name = "service-ucenter")
public interface ServiceUcenterClient {

    //根据用户id，获取用户信息
    @PostMapping("/serviceUcenter/ucenter-member/getUserInfoById/{memberId}")
    UcenterMemberVo getMemberInfoById(@PathVariable("memberId") String memberId);

}
